
package com.work.db.entity;

import java.io.Serializable;

import javax.persistence.*;

@Entity
@Table(name = "LEAVE_PER_YEAR")
public class LeavePerYear extends BaseEntity implements Serializable {

	@Transient
	private static final long serialVersionUID = 8677332379780815836L;

	@Column(name = "YEAR")
	private Integer year;

	@Column(name = "NUMBER")
	private Integer number;

	@ManyToOne
	private Employer employer;

	public LeavePerYear() {
		super();
	}

	public Integer getYear()
	{
		return year;
	}

	public void setYear(Integer year)
	{
		this.year = year;
	}

	public Integer getNumber()
	{
		return number;
	}

	public void setNumber(Integer number)
	{
		this.number = number;
	}

	public Employer getEmployer()
	{
		return employer;
	}

	public void setEmployer(Employer employer)
	{
		this.employer = employer;
	}

}
